menbutton: Redo indicator arrows
authorMatthias Clasen <mclasen@redhat.com>
Tue, 19 Jan 2021 19:00:21 +0000 (14:00 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Jan 2021 19:02:23 +0000 (14:02 -0500)
commite7c29b989ca0df89ac80c1f8892818262ddddba8
tree78d4be51f9b95532999e3db36a9e173ae39a36ba
parent2100e427d91342108fb25d4f1fea551c54270a3e
menbutton: Redo indicator arrows

Instead of hardcoding icon names in the widget, use
arrow.none, arrow.up, arrow.down, arrow.left, arrow.right
styles and set the icon to use with -gtk-icon-source. This
lets themes change the icons that are used here, without
forcing all uses of pan-up/down/start/end-symbolic to be
treated the same.

Document this in the menubutton CSS docs.
gtk/gtkmenubutton.c
gtk/theme/Adwaita/_common.scss